/*============================================================================

The Medical Imaging Interaction Toolkit (MITK)

Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.

Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.

============================================================================*/

#ifndef BERRYPLATFORMLOGCHANNEL_H_
#define BERRYPLATFORMLOGCHANNEL_H_

#include "Poco/Message.h"
#include "Poco/SimpleFileChannel.h"

namespace berry {

class PlatformLogChannel : public Poco::SimpleFileChannel
{
public:
  PlatformLogChannel(const std::string& path);

  void log(const Poco::Message& msg);

};

}

#endif /*BERRYPLATFORMLOGCHANNEL_H_*/
